package cn.com.surker.weight.entity;

import cn.com.surker.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 车辆皮重表
 * </p>
 *
 * @author admin
 * @since 2024-11-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WeightTare extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 车牌号busnumber
     */
    private String busNumber;

    /**
     * 皮重
     */
    private Double tare;

    /**
     * 车辆类型
     */
    private Integer carType;
    public WeightTare(){}
    public WeightTare(String busNumber, Double tare, Integer carType) {
        this.busNumber = busNumber;
        this.tare = tare;
        this.carType = carType;
    }
}
